home *** CD-ROM | disk | FTP | other *** search
/ How Would You Survive? / How Would You Survive (1995)(Grolier)[Mac-PC].iso / mac / EGLOSS.DIR / 00078_Script_78 < prev    next >
Text File  |  1995-09-06  |  653b  |  30 lines

  1. global gHoldArt
  2.  
  3. on resetGlossary
  4.   set gHoldArt = 3
  5.   set the castnum of sprite 2 = gholdart
  6.   updatestage
  7. end
  8.  
  9. on EGlossaryRollover
  10.   set the castnum of sprite 2 = gHoldArt 
  11.   set whichsprite = the mousecast
  12.   if (whichsprite > 32 and whichsprite < 53) then
  13.     repeat while whichsprite = the mousecast
  14.       handcursor
  15.       set the castnum of sprite 2 = (whichsprite - 30)
  16.       updatestage
  17.       if the mousedown then
  18.         set gHoldArt = (whichsprite - 30)
  19.         set the castnum of sprite 2 = gHoldArt 
  20.       end if
  21.     end repeat
  22.   else
  23.     set the castnum of sprite 2 = gHoldArt 
  24.     updatestage
  25.   end if
  26. end
  27.  
  28.  
  29.  
  30.